package com.zzyl.nursing.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * @author zzw
 * @date 2025/6/12
 * @description 护理任务分页查询条件
 */
@Data
@ApiModel("护理任务分页查询条件")
public class NursingTaskDto {

    @ApiModelProperty("老人姓名")
    private String elderName;

    @ApiModelProperty("护理员ID")
    private Long nurseId;

    @ApiModelProperty("护理项目ID")
    private Long projectId;

    @ApiModelProperty("状态（1待执行2已执行3已关闭）")
    private Integer status;

    @ApiModelProperty("开始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    @ApiModelProperty("结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;
}
